package Prototype_mode.office;


// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Clinet {
    public static void main(String[] args) {
        Office office,new_office=null;
        office=new Office();
        Manager manager=new Manager();
        manager.add("Off",office);
        try{
            new_office=manager.get("Off");
        }
        catch (Exception e){
            System.err.println("失败");
        }
        System.out.println("date是否相同"+(office==new_office));
        System.out.println("复制");
        System.out.println("数据"+new_office.getDate());
//        DateChart dateChart,new_date=null;
//        dateChart=new DateChart();
//        DataSet dataSet=new DataSet();
//        dateChart.setDataSet(dataSet);

 //       System.out.println("date是否相同"+(dateChart==new_date));
   //     System.out.println("dataset是否相同"+(dateChart.getDataSet()==new_date.getDataSet()));

    }
}
